1   /************************************************************
2   *                     Copyright                            *
3   * Portions of this software are Copyright (c) 1993 - 2002, *
4   * Chad Z. Hower (Kudzu) and the Indy Pit Crew              *
5   *  - http://www.nevrona.com/Indy/                          *
6   ************************************************************/
7   package org.indy;
8   
9   /***
10   * DOCUMENT ME!
11   *
12   * @version $Revision$
13   * @author $author$
14   */
15  public interface TCPServerListener {
16    /***
17   *  Description of the Method
18   *
19   *@param  thread  Description of the Parameter
20   */
21    public void onConnect(PeerThread thread);
22  
23    /***
24   *  Description of the Method
25   *
26   *@param  thread  Description of the Parameter
27   */
28    public void onDisconnect(PeerThread thread);
29  
30    /***
31   *
32   * @param thread
33   * @throws IndyException
34   */
35    public void onExecute(PeerThread thread) throws IndyException;
36  
37    /***
38   *  Description of the Method
39   *
40   *@param  thread     Description of the Parameter
41   *@param  exception  Description of the Parameter
42   */
43    public void onException(PeerThread thread, IndyException exception);
44  
45    /***
46   *  Description of the Method
47   *
48   *@param  thread     Description of the Parameter
49   *@param  exception  Description of the Parameter
50   */
51    public void onListenException(ListenerThread thread, IndyException exception);
52  
53    /***
54   *  Description of the Method
55   *
56   *@param  sender  Description of the Parameter
57   *@param  thread  Description of the Parameter
58   *@param  data    Description of the Parameter
59   */
60    public void onBeforeCommandHandler(TCPServer sender, PeerThread thread, 
61                                       String data);
62  
63    /***
64   *  Description of the Method
65   *
66   *@param  sender  Description of the Parameter
67   *@param  thread  Description of the Parameter
68   */
69    public void onAfterCommandHandler(TCPServer sender, PeerThread thread);
70  
71    /***
72   *  Description of the Method
73   *
74   *@param  sender  Description of the Parameter
75   *@param  thread  Description of the Parameter
76   *@param  data    Description of the Parameter
77   */
78    public void onNoCommandHandler(TCPServer sender, PeerThread thread, 
79                                   String data);
80  }
This page was automatically generated by Maven